table of contents
pki-server-cert(8) | PKI Cert Commands | pki-server-cert(8) |
NAME¶
pki-server-cert - Command-Line Interface for managing System Certificates.
SYNOPSIS¶
pki-server [CLI options] cert pki-server [CLI options] cert-find pki-server [CLI options] cert-update <cert ID> pki-server [CLI options] cert-create <cert ID> pki-server [CLI options] cert-import <cert ID>
DESCRIPTION¶
The pki-server cert commands provide command-line interfaces to manage system certificates.
pki-server cert commands perform system certificate related operations on a specific CS instance. All pki-server cert commands require specification of the cert ID to identify the target certificate.
pki-server [CLI options] cert
pki-server [CLI options] cert-find
pki-server [CLI options] cert-update <cert ID>
pki-server [CLI options] cert-create <cert ID>
pki-server [CLI options] cert-import <cert ID>
To view each command's usage, type pki-server cert-<command> --help.
All pki-server commands must be executed as the system administrator.
OPTIONS¶
The other CLI options are described in pki-server(8).
OFFLINE SYSTEM CERTIFICATE RENEWAL¶
pki-server cert command is used as a part of offline system certificate renewal process.
Assumptions:
2. Valid admin cert
3. PKI server is currently down
Steps for offline system certificate renewal:
2. Check details of admin cert
certutil -L \ -d <client NSS DB dir> \ -n <admin cert nickname>
3. Check status of PKI server
Note: Get the sslserver cert serial number from step #1 above to create permanent cert later. The admin needs to make a list of certs from step #1 that needs to be renewed.
B. To bring up a PKI server that has expired SSL certificate:
2. Import the temp SSL certificate into NSS database and update corresponding subsystem's CS.cfg
3. Start PKI server using the new temp SSL cert created
C. To renew system certificates:
pki-server cert-create <cert ID> --renew \ -d <client NSS DB dir> \ -c <NSS DB password> \ -n <admin nickname>
For SSL server certificate:
pki-server cert-create sslserver --renew \ --serial <old serial> \ -d <client NSS DB dir> \ -c <NSS DB password> \ -n <admin nickname>
2. Stop the server to prevent NSS database corruption while importing:
3. Import the renewed system certificate into NSS database and update corresponding subsystem's CS.cfg
4. Start the server with renewed permanent system certificates
AUTHORS¶
Dinesh Prasanth M K <dmoluguw@redhat.com>
COPYRIGHT¶
Copyright (c) 2017 Red Hat, Inc. This is licensed under the GNU General Public License, version 2 (GPLv2). A copy of this license is available at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
August 1, 2017 | version 10.4 |